﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ThreadModule.Data
{
    /// <summary>
    /// 结构体，用于存储原始数据点X,Y的值
    /// </summary>
    public struct RawDataPoint
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="xVal">X坐标值</param>
        /// <param name="yVal">Y坐标值</param>
        public RawDataPoint(double xVal, double yVal)
        {
            this.X = xVal;
            this.Y = yVal;
        }

        /// <summary>
        /// X坐标值
        /// </summary>
        public double X { get; set; }

        /// <summary>
        /// Y坐标值
        /// </summary>
        public double Y { get; set; }
    }
}
